﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace WeatherServiceLibrary.Code
{
    [DataContract]
    class Phenomenon : BaseWeather
    {


        private string _name;

        public string Name
        {
            get { return _name; }
           
        }


        
        public Phenomenon(DBA.WeatherDB.Phenomenon phen)
        {
            Id = phen.PhenomenonID;
         
            this._name = phen.Name;
          
            
        }
    }
}
